package cn.genmer.test.security.rpc.v2.rpc.transport;

import io.netty.channel.socket.nio.NioSocketChannel;

public class GClientPool {
    NioSocketChannel[] clients;
    Object[] locks;
    GClientPool(int size){
        clients = new NioSocketChannel[size]; // 初始化 连接都为空
        locks = new Object[size]; // 锁初始化
        for (int i = 0; i < size; i++) {
            locks[i] = new Object();
        }

    }
}